package com.ktjy.ktmall.entity;

/**
 * 规格属性值表它与t_attr_values表对应
 * @version v1.0
 * @Author 郴州科泰
 * @Create 2024-07-23 - 10:45
 */
public class AttrValues {
    private int id;  // 主键id
    private int attrId;  // 规格属性id,引用于规格属性t_attr表的id
    private String name;  // 规格属性值
    private String picture;  // 规格属性值图片
    private String desc;   // 规格属性值描述
    private int orderNum; //排序值
    private int status;  // 状态(0:正常 1:禁用)
    private String createTime;  // 创建时间
    private String updateTime;  // 修改时间


    public AttrValues() { }

    public AttrValues(int id, int attrId, String name, String picture, String desc, int orderNum, int status, String createTime, String updateTime) {
        this.id = id;
        this.attrId = attrId;
        this.name = name;
        this.picture = picture;
        this.desc = desc;
        this.orderNum = orderNum;
        this.status = status;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getAttrId() {
        return attrId;
    }

    public void setAttrId(int attrId) {
        this.attrId = attrId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public int getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(int orderNum) {
        this.orderNum = orderNum;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }
}
